
//
//  Global.swift
//  AudioToolProject
//
//  Created by 邹琳 on 2019/5/5.
//  Copyright © 2019 邹琳. All rights reserved.
//

import Foundation
import UIKit
import AVFoundation
import SVProgressHUD
//MARK:-----------const-------------//

let MainColor = UIColor(0xfa4169)
let HOSTURL = URL(string: "https://www.baidu.com")!

let recordingSetting: [String: Any] = [AVSampleRateKey: NSNumber(value: 8000),//采样率
    
    AVFormatIDKey: NSNumber(value: kAudioFormatLinearPCM),//音频格式
    
    AVLinearPCMBitDepthKey: NSNumber(value: 16),//采样位数
    
    AVNumberOfChannelsKey: NSNumber(value: 1),//通道数
    
    AVEncoderAudioQualityKey: NSNumber(value: AVAudioQuality.min.rawValue)//录音质量
    
];


